m_body: " . $m_body . "
\n"; // Remove "Â" (0xc2 or 194) characters // inserted by Bing before characters > 0x80: // (Unicode UTF-8 encoding) //$m_body = preg_replace('/[\xc2]/', '', $m_body); // Clean input $subject_clean = htmlspecialchars($m_subject); $author_clean = htmlspecialchars($m_author); $datestamp_clean = htmlspecialchars($m_datestamp); // Doesn't handle UTF-8 stuff: //$msgBody = htmlspecialchars($m_body); $msgBody = $m_body; // Expand BB Code $msgBody = preg_replace('/\\\\n/mi', '', $msgBody); $msgBody = preg_replace('|\[/quote\]|mi', '', $msgBody); $msgBody = preg_replace('|--|mi', '—', $msgBody); // Temporary until [url] code can be translated to HTML //$msgBody = preg_replace('|\[url\]|mi', '[url] ', $msgBody); //$msgBody = preg_replace('|\[/url\]|mi', ' [/url]', $msgBody); // Replace [url]http://www.something.com/[/url] : $msgBody = preg_replace( '/(?\\1", $msgBody); $message =<<< thomas_jefferson_lives
| $subject_clean |
|
Author: $author_clean Date: $datestamp_clean $msgBody
|
The Unauthorized Randy “Duke” Cunningham Page
| Forum Index |
The Fine Print: The above comments are owned by whoever posted them. We are not responsible for them in any way (Communications Decency Act, 47 USC § 230). In compliance with the Children's Online Privacy Protection Act of 1998, we do not accept postings from children under 13 years of age. Privacy notice: messages posted to this forum are public. Trademarks and copyrights on this page are owned by their respective owners. The rest copyright © 2001-2012 Dan E. Anderson. All rights reserved.
Copyright © 1996-2012 Dan E. Anderson. All rights reserved.
This page is not authorized or approved by anyone, but I hope you enjoy it.
About this website.
If you have comments (hate mail, praise, jokes, corrections, constructive criticism, or destructive criticism), please send me (Dan Anderson) a secure private message. You can read other people's comments here.
http://dukecunningham.org/forum/read.php/